package com.scut.fy.gateway.service;

import com.scut.fy.gateway.model.vo.OauthLoginVo;

/**
 * @author jy
 */
public interface LoginService {
    /**
     * TODO
     * @param loginDto
     * @return
     */
    @Deprecated
    public OauthLoginVo pwdLogin (OauthLoginVo loginDto);

    /**
     * 校验username的密码是否正确
     * @param userName
     * @param password
     * @return
     */
    public Boolean checkUserPwd (String userName, String password);

}
